package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.statistic.result.pojo.ChartIdPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 数值格式保存
 * @author xinpeng.jiang
 * @date 2021/10/25 14:22
 * @version 1.0
 * @since V1.0
 */
@Getter
@Setter
@ToString
public class NumFormatSaveDTO extends BaseDTO {

    private static final long serialVersionUID = -1120151925400065237L;
    
    /**
     * 图表id
     */
    @NotNull(message = "{dto.msg.NumFormatSaveDTO.chartIdIn.NotNull}")
    private List<ChartIdPojo> chartIdIn;
    /**
     * 指标类型
     */
    @NotNull(message = "{dto.msg.NumFormatSaveDTO.statisticsType.NotNull}")
    private Integer statisticsType;
    /**
     * 数值格式值
     */
    @NotNull(message = "{dto.msg.NumFormatSaveDTO.numFormat.NotNull}")
    private Integer numFormat;
}
